package com.cac.demo.entity.tsUSer;

public class RestResult {
    //状态码
    private int code;
    //消息
    private String message;
    //额外的内容
    private Object data;
    public RestResult(){

    }

    public int getCode() {
        return code;
    }

    public void setCode(ResultCode code) {
        this.code = code.getCode();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
